<!DOCTYPE html>
<html>
<head>
  <title>Lodash Example</title>
  <script src="https://cdn.jsdelivr.net/npm/lodash@4.17.21/lodash.min.js"></script>
</head>
<body>
  <script>
    const array = [1, 2, 3, 4, 5];
    const sum = _.sum(array);
    console.log('---------------'); 
    console.log(sum); // Output: 15
    console.log('---------------'); 
    console.log(_.isEmpty("1")) // false
    console.log(_.isEmpty("")) // true
    console.log(_.isEmpty(null)) // true
    console.log(_.isEmpty(undefined)) // true
    console.log(_.isEmpty(0)) // true
    console.log(_.isEmpty(NaN)) // true
    console.log(_.isEmpty({})) // true
    console.log(_.isEmpty([])) // true
    console.log(_.isEmpty([1])) // false

  </script>
</body>
</html>